<template>
  <div id="app">
    <c-header></c-header>
    <transition name="fade" mode="out-in">
      <router-view></router-view>
    </transition>
  </div>
</template>

<script setup>
import CHeader from "./components/title";

</script>

<style>
/* CSS */

#app {
  overflow: hidden;
  position: absolute;
  /* top: 10px;
  right: 10px;
  left: 10px;
  bottom: 10px; */
  inset: 0;
  display: flex;
  flex-direction: column;

}

#app .main-container {
  background: #F0F2F5;
  margin-top: -10px;
  padding-top: 10px;
}

.app-main {
  position: relative;
  overflow: hidden;
  bottom: 10px;
}

#app .app-container {
  /* background: #fff; */
  margin: 0px;
  /* position: relative; */
  border-radius: 3px;
  margin-top: 3px;
  padding: 0;
  position:absolute;
  left: 5px;
  right: 5px;
  top: 5px;
  /* border: 1px solid red; */
  bottom: 118px;
}

.page-body{
  margin-top: 5px;
}


.el-table__body-wrapper::-webkit-scrollbar-thumb {
  /* border-radius: 8px; */
  -webkit-box-shadow: inset 0 0 6px rgba(70, 57, 57, 0.3);
  background-color: rgba(0, 0, 0, 0.1);
}


*::-webkit-scrollbar {
  width: 14px !important;
  height: 14px !important;
}

*::-webkit-scrollbar-thumb {
  border: 4px solid rgba(0, 0, 0, 0);
  height: 7px;
  border-radius: 25px;
  background-clip: padding-box;
  background-color: rgba(0, 0, 0, 0.30) !important;
}

/* *::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
  display: none;
}

*::-webkit-scrollbar-corner {
  background-color: transparent;
} */

.el-main {
  border-radius: 3px !important;
  background-color: #fff;
  /* box-shadow: 0px 15px 10px -15px rgba(0, 21, 41, 0.15); */
  margin-left: 10px;
}

.navbar-header-fixed {
  box-shadow: 0px 15px 10px -15px rgba(0, 21, 41, 0.15);
}

.flex {
  display: flex;
}

/** 容器自适应 */
.container {
  display: flex;
  height: 100%;
  flex-direction: column;
}

/** 中间自适应大小 */
.middle {
  flex: 1;
  overflow: auto;
}

/** 底部分页 */
.bottom {
  height: 30px;
}


.btn-select {
  font-weight: bold !important;
  background: #02A7F0 !important;
  color: white !important;
  position: relative !important;
  top: 0px !important;
  border-radius: 0px !important;
}

.el-container {
  box-shadow: none !important;
  background-color: #F2F2F2 !important;
}


.el-button--danger {
  background-color: #EC808D !important;
  border-color: #EC808D !important;
}

.el-radio-button__orig-radio:checked+.el-radio-button__inner {
  color: white !important;
  background-color: #02A7F0 !important;
  border-color: #02A7F0 !important;
  box-shadow: -1px 0 0 0 #02A7F0 !important;
}

.el-button--primary {
  background-color: #02A7F0 !important;
  border-color: #02A7F0 !important;
}</style>
